package com.hna.eking.framework.exception;

/**
 * Http status 状态枚举  扩展
 */
public enum HttpStatusErrorEnum {

    REMOTE_SERVICE_ERROR_STATUS(555, "远程服务调用错误.");


    /**
     * http 状态码
     */
    private int code;

    /**
     * 错误描述
     */
    private String describe;

    HttpStatusErrorEnum(int code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
